import { fetchGet } from "~/request/request";
import { REP } from "../common";
import { ICommunityListItem } from "./types";

export const getCommunityLists = (): Promise<REP<ICommunityListItem[]>> =>
  fetchGet(`/community/list`);
